testcase=int(input()) for i in range(testcase): a,b